
const Router=require("koa-router")

const router=new Router({prefix:"/label"})
const {verifyAuth}=require("../middleware/automiddleware")
const {create,getList}=require("../controller/label.controller")
//创建标签
router.post("/",verifyAuth,create)
//获取标签列表
router.get("/",getList)
module.exports=router;